apphosting:AppConf

configuration required for app hosting

Telemetry Sensor Path(s)

Configurable Properties
PROPERTY NAME DATA TYPE DESCRIPTION PERMITTED VALUES
adminSt apphosting:AdminState
(scalar:Enum8)
Admin state for AppConf config SELECTION:
0 - disabled
1 - enabled
DEFAULT: enabled
appCfgState apphosting:AppActionCont
(scalar:Enum16)
exec command of application SELECTION:
0 - init
1 - install
2 - uninstall
3 - activate
4 - deactivate
5 - start
6 - stop
DEFAULT: init
appId apphosting:AppName
(string:Basic)
unique id to identify the application
MAX SIZE: 39
appMaxCpu scalar:Uint32
maximum cpu limit of app RANGE: [0, 4294967295]
appMaxDisk scalar:Uint64
maximum disk allocation of app RANGE: [0, 18446744073709551615]
appMaxMem scalar:Uint64
maximum memory allocation of app RANGE: [0, 18446744073709551615]
appParamList apphosting:ParamList
(string:Basic)
application parameter list e.g: '--hostname N9K-GX4'
MAX SIZE: 2047
appParamListExt apphosting:ParamList
(string:Basic)
extended application parameter list
MAX SIZE: 2047
appPkgName apphosting:PackName
(string:Basic)
complete URL path of application.
MAX SIZE: 127
gwIpV4Addr address:Ip
default gateway ip v4 address for the container. Value must match ipv4 or ipv6 known format
gwIpV4IntfIdx apphosting:IntfIndex
(scalar:Uint32)
guest interface index (ipv4). e.g: specify '0' for interface eth0 inside the container
RANGE: [0 , 3]
DEFAULT: 0
gwIpV6Addr address:Ip
default gateway ip v6 address for the container. Value must match ipv4 or ipv6 known format
gwIpV6IntfIdx apphosting:IntfIndex
(scalar:Uint32)
guest interface index (ipv6).
RANGE: [0 , 3]
DEFAULT: 0
hostNwMode apphosting:HostNwMode
(scalar:Enum8)
Host networking is enabled or disabled SELECTION:
0 - disabled
1 - enabled
DEFAULT: disabled
pkgOpts apphosting:PkgRunOptState
(scalar:Enum8)
over write or append the run-opts. default value is 'over-write'. SELECTION:
0 - over-write
1 - append
DEFAULT: over-write
switchIntf apphosting:SwitchInterface
(string:Basic)
vrf id to bind with opt socket
MAX SIZE: 63

Operational Properties
PROPERTY NAME DATA TYPE DESCRIPTION POSSIBLE VALUES
appCurrState apphosting:AppCurrState
(scalar:Enum32)
application current status set by appmgr SELECTION:
0 - init
1 - installed
2 - install_in_progress
3 - install_failed
4 - uninstalled
5 - uninstall_in_progress
6 - uninstall_failed
7 - activate
8 - activate_in_progress
9 - activate_failed
10 - deactivated
11 - deactivate_in_progress
12 - deactivate_failed
13 - started
14 - start_in_progress
15 - start_failed
16 - stop
17 - stop_in_progress
18 - stop_failed
DEFAULT: init
appErrCode apphosting:AppErrCode
(scalar:Enum32)
application config error code SELECTION:
0 - err_none
1 - err_other
2 - err_invalid_conf
3 - err_backend_write
4 - err_mem_alloc
DEFAULT: err_none
appErrStr string:Basic
error string set by apphosting A sequence of characters
appReqState apphosting:AppActionCont
(scalar:Enum16)
application request status set by appmgr SELECTION:
0 - init
1 - install
2 - uninstall
3 - activate
4 - deactivate
5 - start
6 - stop
DEFAULT: init
currAppState apphosting:AppActionCont
(scalar:Enum16)
application current status set by appmgr SELECTION:
0 - init
1 - install
2 - uninstall
3 - activate
4 - deactivate
5 - start
6 - stop
DEFAULT: init

Internal Properties
PROPERTY NAME DATA TYPE DESCRIPTION POSSIBLE VALUES
modTs mo:TStamp
(scalar:Date)
The time when this object was last modified. SELECTION:
0 - never
DEFAULT: never
status mo:ModificationStatus
(scalar:Bitmask32)
The upgrade status. This property is for internal use only. SELECTION:
2 - created
4 - modified
8 - deleted
16 - replaced